package com.lanou.renrenxin.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.lanou.renrenxin.R;
import com.lanou.renrenxin.base.BaseActivity;
import com.lanou.renrenxin.gamemodel.GameOneActivity;
import com.lanou.renrenxin.gamemodel.gameeight.GameEightActivity;
import com.lanou.renrenxin.gamemodel.gameeleven.GameElevenActivity;
import com.lanou.renrenxin.gamemodel.gamefive.GameFiveActivity;
import com.lanou.renrenxin.gamemodel.gamefour.GameFourActivity;
import com.lanou.renrenxin.gamemodel.gamenine.GameNineActivity;
import com.lanou.renrenxin.gamemodel.gameseven.GameSevenActivity;
import com.lanou.renrenxin.gamemodel.gamesix.GameSixActivity;
import com.lanou.renrenxin.gamemodel.gameten.GameTenActivity;
import com.lanou.renrenxin.gamemodel.gamethree.gui.FolderListActivity;
import com.lanou.renrenxin.gamemodel.gametwelve.GameTwelveActivity;
import com.lanou.renrenxin.gamemodel.gametwo.GameTwoActivity;

/**
 * Created by dllo on 16/3/10.
 */
public class GameActivity extends BaseActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_game);
    }
    //拼图游戏
    public void gameOne(View view){
        startActivityForResult(new Intent(this, GameOneActivity.class), 0);
    }
    //打地鼠游戏
    public void gameTwo(View view){
        startActivityForResult(new Intent(this, GameTwoActivity.class),0);
    }
    //数独游戏
    public void gameThree(View view){
        startActivityForResult(new Intent(this, FolderListActivity.class),0);
    }
    //在线小游戏1
    public void gameFour(View view){
        startActivityForResult(new Intent(this, GameFourActivity.class),0);
    }
    //在线小游戏2
    public void gameFive(View view){
        startActivityForResult(new Intent(this, GameFiveActivity.class),0);
    }
    //在线小游戏3
    public void gameSix(View view){
        startActivityForResult(new Intent(this, GameSixActivity.class),0);
    }
    //热门游戏1
    public void gameSeven(View view){
        startActivityForResult(new Intent(this, GameSevenActivity.class),0);
    }
    //热门游戏2
    public void gameEight(View view){
        startActivityForResult(new Intent(this, GameEightActivity.class),0);
    }
    //热门游戏3
    public void gameNine(View view){
        startActivityForResult(new Intent(this, GameNineActivity.class),0);
    }
    //热门游戏4
    public  void gameTen(View view){
        startActivityForResult(new Intent(this, GameTenActivity.class),0);
    }
    //热门游戏5
    public void gameEleven(View view){
        startActivityForResult(new Intent(this, GameElevenActivity.class),0);
    }
    //热门游戏6
    public void gameTwelve(View view){
        startActivityForResult(new Intent(this, GameTwelveActivity.class),0);
    }
    //返回
    public void back(View view){
        finish();
    }
}
